﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NHibernate;


namespace Wicresoft.EKA.MVCExtensions
{
    public static class BaseExtension
    {

        public static ISession GetSession(this Base base1)
        {
            return MVCExtensions.SessionFactory.GetCurrentSession();
        }


    }
}
